package com.tuoyu.peopletest.view.ac;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.tuoyu.peopletest.R;

public class SettingActivity extends NomalBaseActivity implements View.OnClickListener {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

    }

    @Override
    public void initContentView() {
        setContentView(R.layout.activity_setting);
    }

    @Override
    public void initChildView() {
        //startActivity(new Intent(this, MainActivity.class));
    }

    @Override
    public void initListener() {
        super.initListener();
        findViewById(R.id.v_btn_calibration_fluorescence).setOnClickListener(this);
        findViewById(R.id.v_btn_calibration_colloidal_gold).setOnClickListener(this);
        findViewById(R.id.v_btn_param).setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.v_btn_calibration_colloidal_gold:
                //胶体金校准
                startActivity(new Intent(this, CalibrationActivity.class));
                break;
            case R.id.v_btn_calibration_fluorescence:
                //荧光校准
                startActivity(new Intent(this, CalibrationFluorescenceActivity.class));
                break;
            case R.id.v_btn_param:
                startActivity(new Intent(this, MainActivity.class));
                break;
        }
    }
}